void main(List<String> args) {
  // 1. 给null值
  String? name = null;
  print(name);
  name = 'Jack';
  print(name);

  // 空安全检查
  name = null;
  print(name?.length);
}
